package com.lamer.console.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lamer.console.base.entity.Menu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 黄诗鹏
 * @since 2021-09-25
 */
public interface IMenuService extends IService<Menu> {

    List<Menu> treeList();

    Page<Menu> treePage(String searchKey, Page<Menu> page);

    List<Menu> getByUserId(int id);

}
